﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FAS.App_Code;
using FAS.Objetos;
using FAS;
using System.IO;
using System.Net;

namespace FasGUI
{
    public partial class Confirm : Form
    {
        private FormMaterias formMaterias;
        private int id;

        public Confirm(FormMaterias formMaterias, int id)
        {
            // TODO: Complete member initialization
            this.formMaterias = formMaterias;
            this.id = id;
            this.InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            formMaterias.validaPass(this.textBox1.Text,id);
            this.Dispose();
            formMaterias.Show();
        }
       
    }
}